package Ch7;

public class Greeting {

	public void sayHello() {
		System.out.println("sayHello");

	}

	public void sayGoodbye() {
		System.out.println("sayGoodbye");

	}

	public void doA() {
		System.out.println("doA");

	}

	public void dob() {
		System.out.println("doB");
	}

	public static void main(String[] args) {
		Greeting obj = new Greeting();
		obj.sayHello();
		obj.doA();
		obj.dob();
	}
}
